#34 new
David Lee

RiCal::Component::Event's dtstart is a badly formed TimeWithZone and breaks under Rails3

Reported by David Lee | August 19th, 2010 @ 08:24 PM

The TimeWithZone is instantiated with a DateTime instead of a Time object, breaking under Rails3.

Example:

x = RiCal.Event {|e| e.rrule = "FREQ=DAILY;INTERVAL=1"; e.dtstart = Time.now}
x.occurrences(:count => 1).first.dtstart.getlocal

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A new icalendar data (RFC 2445) gem for Ruby which supports time zones and enumeration of occurrences

Shared Ticket Bins

Pages